
<%@page import="com.net355.eblog.util.CacheHelper"%>
<%@page import="com.net355.eblog.util.DateToolkit"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
		out.println("---"+DateToolkit.formatDate("yyyy-MM-dd HH:mm:ss")+"---<br />");
		out.println("TotalMemory :::: " + (Runtime.getRuntime().totalMemory()/(1024*1024) + "M")+"<br />");  
		out.println("Max Memory :::: " + (Runtime.getRuntime().maxMemory()/(1024*1024) + "M")+"<br />");  
		out.println("Free Memory :::: " + (Runtime.getRuntime().freeMemory()/(1024*1024) + "M")+"<br />"); 
		List<String> cacheInfoList = CacheHelper.get_cache_info();
		for(int i=0; i<cacheInfoList.size(); i++) {
			out.println(cacheInfoList.get(i)+"<br />");
		}
		out.println("<br /><br /><br /><br /><br />");
%>
<input id="keyVal" type="text" value="" />
<input type="button" value="清理游戏排名" onclick="clearGameScore();" />
<script type="text/javascript">
	clearGameScore = function(){
		window.location.href = "cleargamescore.jsp?key="+document.getElementById("keyVal").value;
	};
</script>